import request from '@/utils/request'
import store from '@/store'
// 获取路由
export const getRouters = () => {

  return new Promise(resolve => {
    const response=store.state.permission.cacheData
    resolve(response)
  })
}